package model;

/**
 * TParentInfo entity. @author MyEclipse Persistence Tools
 */

public class TParentInfo implements java.io.Serializable {

	// Fields
	private int parinfoid;
	private String userName;
	private String realName;
	private String sex;
	private String birthday;
	private String email;
	private String address;
	private String phone;
	private String tell;
	private String workTel;
	private String workUnit;
	private String education;
	private boolean activeState;
	private int roleid;
	private String workType;
	private String schoolid;
	private int userid;

	// Constructors
	
	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	/** default constructor */
	public TParentInfo() {
	}

	/** minimal constructor */
	public TParentInfo(String realName, String sex, String phone) {
		this.realName = realName;
		this.sex = sex;
		this.phone = phone;
	}

	/** full constructor */
	public TParentInfo(int parinfoid,String realName, String sex, String birthday,
			String email, String address, String phone, String tell,
			String workTel, String workUnit, String education, boolean activeState, 
			int roleid, String workType,String schoolid, int userid) {
		this.parinfoid=parinfoid;
		this.realName = realName;
		this.sex = sex;
		this.birthday = birthday;
		this.email = email;
		this.address = address;
		this.phone = phone;
		this.tell = tell;
		this.workTel = workTel;
		this.workUnit = workUnit;
		this.education = education;
		this.activeState = activeState;
		this.roleid = roleid;
		this.workType = workType;
		this.schoolid=schoolid;
		this.userid = userid;
	}

	// Property accessors
	public int getParinfoid() {
		return parinfoid;
	}

	public void setParinfoid(int parinfoid) {
		this.parinfoid = parinfoid;
	}
	
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return this.birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTell() {
		return this.tell;
	}

	public void setTell(String tell) {
		this.tell = tell;
	}

	public String getWorkTel() {
		return this.workTel;
	}

	public void setWorkTel(String workTel) {
		this.workTel = workTel;
	}

	public String getWorkUnit() {
		return this.workUnit;
	}

	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}

	public String getEducation() {
		return this.education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public boolean getActiveState() {
		return activeState;
	}

	public void setActiveState(boolean activeState) {
		this.activeState = activeState;
	}

	public int getRoleid() {
		return roleid;
	}

	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}
	
	public String getWorkType() {
		return workType;
	}

	public void setWorkType(String workType) {
		this.workType = workType;
	}

	public String getSchoolid() {
		return schoolid;
	}

	public void setSchoolid(String schoolid) {
		this.schoolid = schoolid;
	}
	
	
}